package com.jintian.smart.base.api.support.form;

import com.jintian.smart.kernel.core.domain.IForm;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.util.List;

/**
 * 自定义表格列
 */
@Data
public class TableColumnUpdateForm implements IForm {
    @NotNull(message = "表id不能为空")
    private Integer tableId;

    @NotEmpty(message = "请上传列")
    private List<TableColumnItemForm> columnList;
}
